# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-clipman-plugin
pkgver=1.6.1
pkgrel=0
pkgdesc="Clipboard manager plugin for the Xfce panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev xfce4-panel-dev libunique-dev libxtst-dev exo-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/${pkgver%.*}/xfce4-clipman-plugin-$pkgver.tar.bz2
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2a2aa5d7b5d841b11c6d54d4872fc8cbfb83981b2d4678075ff5aa2a4df9ea88de95b837bf3896d7ce5f434827ebb64238e68cca2e17a7104433ed5847d949dd  xfce4-clipman-plugin-1.6.1.tar.bz2"
